<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>示例网页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f9;
        }
        header {
            background-color: #4CAF50;
            color: white;
            padding: 10px 0;
            text-align: center;
        }
        nav {
            background-color: #333;
            overflow: hidden;
        }
        nav a {
            float: left;
            display: block;
            color: white;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
        }
        nav a:hover {
            background-color: #ddd;
            color: black;
        }
        main {
            padding: 20px;
        }
        footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 10px 0;
            position: fixed;
            width: 100%;
            bottom: 0;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
        }
        .button {
            background-color: #4CAF50;
            border: none;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 4px 2px;
            cursor: pointer;
            border-radius: 4px;
        }
        .button:hover {
            background-color: #45a049;
        }
        form {
            margin-top: 20px;
        }
        input[type="text"], input[type="email"] {
            width: 100%;
            padding: 12px 20px;
            margin: 8px 0;
            display: inline-block;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        input[type="submit"] {
            width: 100%;
            background-color: #4CAF50;
            color: white;
            padding: 14px 20px;
            margin: 8px 0;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        input[type="submit"]:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
    <header>
        <h1>欢迎来到示例网页</h1>
    </header>
    <nav>
        <a href="#home">首页</a>
        <a href="#about">关于我们</a>
        <a href="#contact">联系我们</a>
    </nav>
    <main>
        <div class="container">
            <section id="home">
                <h2>首页</h2>
                <p>这是一个简单的示例网页，展示了基本的HTML结构和样式。</p>
                <a href="https://www.example.com" class="button">访问示例网站</a>
            </section>
            <section id="about">
                <h2>关于我们</h2>
                <p>我们是一个致力于提供高质量服务的团队。</p>
            </section>
            <section id="contact">
                <h2>联系我们</h2>
                <form action="/submit-form" method="post">
                    <label for="name">姓名:</label>
                    <input type="text" id="name" name="name" required>
                    
                    <label for="email">电子邮件:</label>
                    <input type="email" id="email" name="email" required>
                    
                    <input type="submit" value="提交">
                </form>
            </section>
        </div>
    </main>
    <footer>
        <p>&copy; 2023 示例网页. 保留所有权利.</p>
    </footer>
</body>
</html>